package com.lee.lease.web.app.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lee.lease.model.entity.LabelInfo;

import java.util.List;

/**
* @author liubo
* @description 针对表【label_info(标签信息表)】的数据库操作Mapper
* @createDate 2023-07-26 11:12:39
* @Entity com.atguigu.lease.model.entity.LabelInfo
*/
public interface LabelInfoMapper extends BaseMapper<LabelInfo> {


    /**
     * 根据公寓id查询标签信息
     * @param id 公寓id
     * @return
     */
    List<LabelInfo> findByApartmentId(Long id);

    /**
     *
     * @param id 房间id
     * @return
     */
    List<LabelInfo> findLabelByRoomId(Integer id);

    /**
     *
     * @param id 公寓id
     * @return
     */
    List<LabelInfo> findLabelInfoByApartmentId(Long id);

}




